*{
    margin:0 auto;
    padding:0;
}
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

#wrapper{
    width: 90%;
    border: 0px solid gray;
    margin: 0px auto;  /*布局居中*/
    height: 100%;
}
header{
    border: 0px solid hotpink;
    background-color: white;
}
header h2{
    text-align: left; /*字体居中*/
    font-family: cursive;
    color: #cc8dfa;
}
.div-right{
    text-align: right;
    margin: 0px auto 0px auto;
}
.div-right a{
    font-size: initial;
    font-family: cursive;
    color: #492aa5;
}
/*知识点,背景图片自适应大小*/
section{
    border: 0px solid yellow;
    background-image: url("/main/image/h2_1.jpg");
    /*padding: 43px;*/
    padding: 5%;
    background-repeat:no-repeat;
    background-size:100% 100%;
    -moz-background-size:100% 100%;
}
section #login{
    border: 0px solid red;
    background-image: url("/main/image/12.jpg");
    margin: 50px auto;
    width: 290px;
    border-radius: 15px;
    margin-right: 110px;
    box-shadow: 10px 10px 5px dimgrey;
}
.input{
    padding: 4px;
}
section #btn{
    margin-top: 31px;
    margin-left: 62px;
    padding-bottom: 26px;
}

footer{
    border: 0px solid darkblue;
}

img {
    max-width: 100%;
}
